package animal3;

public class CatTest {
	public static void main(String[] args) {
		Pet p = new Dog();
		p.beFriendly();
		p.play();
		
		System.out.println("\ncat");
		p = new Cat();
		p.play();
		p.beFriendly();
	}

}
